package com.dlb.andorid;

import com.bumptech.glide.load.engine.DiskCacheStrategy;
import com.bumptech.glide.request.RequestOptions;
import com.dlb.andorid.bean.UserInfo;
import com.kwan.xframe.BaseApplication;
import com.kwan.xframe.crash.upload.http.HttpReporter;

public class App extends BaseApplication {


//	微信开放平台
//	账号：765420208@qq.com
//	密码：qa3141592653..

	//bmob:a99ef3069a0e25326183360494b3e7dd

	public static RequestOptions mGildOptions;
	public static UserInfo mUserInfo;
	public static String mUnionid;
	public static String mOpenid;

	@Override
	public HttpReporter getHttpReporter() {
		return null;
	}

	public static String WX_APP_ID = "wx02d9dc78c757a6af";
	public static String WX_APP_SECRET = "f725ffb598c68565017da625824a436f";
	public static WXLoginUtil mWXLoginUtil;



	@Override
	public void onCreate() {
		super.onCreate();

		mGildOptions = new RequestOptions();
		mGildOptions.diskCacheStrategy(DiskCacheStrategy.ALL);
		mGildOptions.placeholder(R.mipmap.item_default);
		mGildOptions.error(R.mipmap.item_default);

		mWXLoginUtil = new WXLoginUtil(this, WX_APP_ID, WX_APP_SECRET);


	}
}
